module.exports = {
    "srcPath": './src/',
    "devPath": './build/',
    "prdPath": './.product/',
    "svnPath": 'E:\\欣网版本库代码\\Zlx\\2019\\',
    "device":'mobile',
    "isUglify":false,
    "complete":false,
    "autoprefixer": {
        pc: [
            'last 3 versions',
            'Explorer >= 8',
            'Chrome >= 21',
            'Firefox >= 1',
            'Edge 13'
        ],
        mobile: [
            'Android >= 4',
            'iOS >= 8'
        ]
    },
    "cssmin":{
        format: {
            breaks: { // controls where to insert breaks
                afterAtRule: true, // controls if a line break comes after an at-rule; e.g. `@charset`; defaults to `false`
                afterBlockBegins: true, // controls if a line break comes after a block begins; e.g. `@media`; defaults to `false`
                afterBlockEnds: true, // controls if a line break comes after a block ends, defaults to `false`
                afterComment: true, // 注释之后
                afterProperty: false, // 属性之后
                afterRuleBegins: false, // `{` 之后是否要换行
                afterRuleEnds: true, // `}`之后是否要换行
                beforeBlockEnds: false, // 块之间是否要换行
                betweenSelectors: false // `,`选择器之间是否要换行
            },
            indentBy: 0, // controls number of characters to indent with; defaults to `0`
            indentWith: 'space', // controls a character to indent with, can be `'space'` or `'tab'`; defaults to `'space'`
            spaces: { // controls where to insert spaces
                aroundSelectorRelation: true, // controls if spaces come around selector relations; e.g. `div > a`; defaults to `false`
                beforeBlockBegins: false, // controls if a space comes before a block begins; e.g. `.block {`; defaults to `false`
                beforeValue: true // controls if a space comes before a value; e.g. `width: 1rem`; defaults to `false`
            },
            wrapAt: false // controls maximum line length; defaults to `false`
        },
    },
    "tinypngCode":'1eLvRwsCoOWcTbk9mRC453B3pde2nqEQ',
    "imgCompress":true, 
    "htmlmin":{
        removeComments: false,//清除HTML注释
        collapseWhitespace: true,//压缩HTML
        collapseBooleanAttributes: true,//省略布尔属性的值 <input checked="true"/> ==> <input />
        removeEmptyAttributes: true,//删除所有空格作属性值 <input id="" /> ==> <input />
        removeScriptTypeAttributes: true,//删除<script>的type="text/javascript"
        removeStyleLinkTypeAttributes: true,//删除<style>和<link>的type="text/css"
    },
    "htmlBeautify":{
        indent_size: 1,
        indent_char: ' ',
        indent_with_tabs: true,
    },
    "sorting":{
        'order': [
            'custom-properties',
            'dollar-variables',
            'declarations',
            'at-rules',
            'rules'
          ],
        'properties-order':[
            "display",
            "position","top","right","bottom","left","z-index",
            "box-sizing",
            "flex","flex-align","flex-basis","flex-direction","flex-wrap","flex-flow","flex-shrink","flex-grow","flex-order","flex-pack",
            "align-content","align-items","align-self","justify-content","order",
            "float",
            "width","min-width","max-width",
            "height","min-height","max-height",
            "padding","padding-top","padding-right","padding-bottom","padding-left",
            "margin","margin-top","margin-right","margin-bottom","margin-left",
            "overflow","overflow-x","overflow-y","-webkit-overflow-scrolling","-ms-overflow-x","-ms-overflow-y","-ms-overflow-style",
            "columns","column-count","column-fill","column-gap","column-rule","column-rule-width","column-rule-style","column-rule-color","column-span","column-width",
            "orphans","widows","clip",
            "clear",
            "font","font-family","font-size","font-style","font-weight","font-variant","font-size-adjust","font-stretch","font-effect","font-emphasize","font-emphasize-position","font-emphasize-style","font-smooth",
            "src",
            "hyphens",
            "line-height",
            "color",
            "text-align","text-align-last","text-emphasis","text-emphasis-color","text-emphasis-style","text-emphasis-position","text-decoration","text-indent","text-justify","text-outline","-ms-text-overflow","text-overflow","text-overflow-ellipsis","text-overflow-mode","text-shadow","text-transform","text-wrap","-webkit-text-size-adjust","-ms-text-size-adjust",
            "letter-spacing",
            "-ms-word-break","word-break","word-spacing","-ms-word-wrap","word-wrap","overflow-wrap",
            "tab-size",
            "white-space",
            "vertical-align",
            "direction",
            "unicode-bidi",
            "list-style","list-style-position","list-style-type","list-style-image",
            "pointer-events",
            "-ms-touch-action","touch-action",
            "cursor",
            "visibility",
            "zoom",
            "table-layout",
            "empty-cells",
            "caption-side",
            "border-spacing",
            "border-collapse",
            "content",
            "quotes",
            "counter-reset",
            "counter-increment",
            "resize",
            "user-select",
            "nav-index","nav-up","nav-right","nav-down","nav-left",
            "background","background-color","background-image","filter","background-repeat","background-attachment","background-position","background-position-x","background-position-y","background-clip","background-origin","background-size",
            "border","border-color","border-style","border-width",
            "border-top","border-top-color","border-top-style","border-top-width",
            "border-right","border-right-color","border-right-style","border-right-width",
            "border-bottom","border-bottom-color","border-bottom-style","border-bottom-width",
            "border-left","border-left-color","border-left-style","border-left-width",
            "border-radius","border-top-left-radius","border-top-right-radius","border-bottom-right-radius","border-bottom-left-radius",
            "border-image","border-image-source","border-image-slice","border-image-width","border-image-outset","border-image-repeat",
            "outline","outline-width","outline-style","outline-color","outline-offset",
            "box-shadow",
            "opacity",
            "-ms-interpolation-mode",
            "page-break-after","page-break-before","page-break-inside",
            "transition","transition-delay","transition-timing-function","transition-duration","transition-property",
            "transform","transform-origin",
            "perspective",
            "appearance",
            "animation","animation-name","animation-duration","animation-play-state","animation-timing-function","animation-delay","animation-iteration-count","animation-direction","animation-fill-mode",
            "fill",
            "stroke"
        ]
    },
    "pxtorem":{
        rootValue: 100,
        propList: ['*','!border*'],
        replace: true,
    },
    "animation":{
        data: [
          require("postcss-animation.css-data"),
          require("postcss-magic.css-data"),
          require("postcss-mimic.css-data"),
          require("postcss-tuesday.css-data")
        ],
        checkDuplications: true,
        disableCheckCssVariables: true
    },
    "base64":{
        baseDir: 'build/images', 
        extensions: ['png'], 
        maxImageSize: 0 * 1024,
        debug: true 
    },
    "knownOptions":{
        string: 'env',
        default: { 
            env: process.env.NODE_ENV || '',
            path: process.env.NODE_ENV || '掌厅',
            name: process.env.NODE_ENV || 'index',
            title: process.env.NODE_ENV || '',
        }
    }
}